package entity;

import java.io.Serializable;

import java.math.BigDecimal;

import java.sql.Timestamp;



/**

 * order

 * @author 

 */

public class Order implements Serializable {

    //订单id

    private Integer id;

    //订单号

    private Long orderNo;

    //用户id

    private Integer userId;

    //收货地址id

    private Integer shippingId;

    //实际付款金额,单位是元,保留两位小数

    private BigDecimal payment;

    //支付类型,1-在线支付

    private Integer paymentType;

    //运费,单位是元

    private Integer postage;

    //订单状态:0-已取消-10-未付款，20-已付款，40-已发货，50-交易成功，60-交易关闭

    private Integer status;

    //支付时间

    private Timestamp payment_time;

    //发货时间

    private Timestamp send_time;

    //交易完成时间

    private Timestamp end_time;

    //交易关闭时间

    private Timestamp close_time;

    //创建时间

    private Timestamp create_time;

    //更新时间

    private Timestamp update_time;

    private static final long serialVersionUID = 1L;



    public Integer getId() {

        return id;

    }



    public void setId(Integer id) {

        this.id = id;

    }



    public Long getOrderNo() {

        return orderNo;

    }



    public void setOrderNo(Long orderNo) {

        this.orderNo = orderNo;

    }



    public Integer getUserId() {

        return userId;

    }



    public void setUserId(Integer userId) {

        this.userId = userId;

    }



    public Integer getShippingId() {

        return shippingId;

    }



    public void setShippingId(Integer shippingId) {

        this.shippingId = shippingId;

    }



    public BigDecimal getPayment() {

        return payment;

    }



    public void setPayment(BigDecimal payment) {

        this.payment = payment;

    }



    public Integer getPaymentType() {

        return paymentType;

    }



    public void setPaymentType(Integer paymentType) {

        this.paymentType = paymentType;

    }



    public Integer getPostage() {

        return postage;

    }



    public void setPostage(Integer postage) {

        this.postage = postage;

    }



    public Integer getStatus() {

        return status;

    }



    public void setStatus(Integer status) {

        this.status = status;

    }



    public Timestamp getPayment_time() {

        return payment_time;

    }



    public void setPayment_time(Timestamp payment_time) {

        this.payment_time = payment_time;

    }



    public Timestamp getSend_time() {

        return send_time;

    }



    public void setSend_time(Timestamp send_time) {

        this.send_time = send_time;

    }



    public Timestamp getEnd_time() {

        return end_time;

    }



    public void setEnd_time(Timestamp end_time) {

        this.end_time = end_time;

    }



    public Timestamp getClose_time() {

        return close_time;

    }



    public void setClose_time(Timestamp close_time) {

        this.close_time = close_time;

    }



    public Timestamp getCreate_time() {

        return create_time;

    }



    public void setCreate_time(Timestamp create_time) {

        this.create_time = create_time;

    }



    public Timestamp getUpdate_time() {

        return update_time;

    }



    public void setUpdate_time(Timestamp update_time) {

        this.update_time = update_time;

    }

}

